<?php


namespace app\home\model;


use think\Model;

class PgsgaYisheng extends Model
{
    protected $pk = 'id';
    protected $table = 'yybj_pgsga_yisheng';

    public function huanzhe(){
        return $this->belongsTo(Huanzhe::class, 'pid', 'id');
    }
}